package net.lab1024.sa.base.module.support.loginlog.domain;

import lombok.Data;
import net.lab1024.sa.base.common.enumeration.UserTypeEnum;
import net.lab1024.sa.base.module.support.loginlog.LoginLogResultEnum;

import java.time.LocalDateTime;

/**
 * 登录日志
 *
 * @Author 1024创新实验室-主任: 卓大
 * @Date 2022/07/22 19:46:23
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright  <a href="https://1024lab.net">1024创新实验室</a>
 */
@Data
public class LoginLogVO {

    private Long loginLogId;

    // 用户id
    private Long userId;

    // 枚举字段
    private Integer userType;

    // 用户名
    private String userName;

    // 登录ip
    private String loginIp;

    // 登录ip地区
    private String loginIpRegion;

    // user-agent
    private String userAgent;

    // remark
    private String remark;

    // 枚举字段
    private Integer loginResult;

    private String loginDevice;

    private LocalDateTime createTime;

}
